This should fix #12166 . Not sure if it regresses something else but don't think so. Only wanted to suggest a solution for this before Piwik 3.2.0 release.
Eventually will need a UI test for this as well.
Wow THAT WAS INCREDIBLE fast!!! Piwik is really a good alternative to such big players as GoogleAnalytics! I´m beginning to love this software & community! Best Regards!