Correct status failure in query service