Bugfixes. 
Pages stats works now.