I believe this is the appropriate fix but I'm new to piwik and contributing via github. Start small and see how we go.