Simplified check.
Fixing test failure regression introduced in previous commit.

refs #3232
Merge branch 'master' of github.com:piwik/piwik