See: https://github.com/piwik/piwik/commit/3f82b4ab7b8fc82eed0303936e869f78adcf4fb3