Refs #3989 thanks for the report, putting the fix back in
Reverting part of https://github.com/piwik/piwik/commit/641e9ce4aca81ddb3d66983aab80e477727a1d93
Merge remote-tracking branch 'origin/master'