Fixed crash on admin stats page.