Fixed bug with the Statistics page caused by the user permission updates;