Fix stalled count query in Controller_Admin_Maintenance.