Gracefully handle query removes if the query doesn't exist.