Check for error when at-query is given bad input.