reverted change to dashboard stats query