test for query point before processing