impossible to have an empty query, refs #6957