Fix two bugs in the Piwik partial.