Fixed health stats query