Clean up StatusSummary query