Error check for no geometry