Able to handle queries with no geometry