Fix broken main stats view