Bug fix: geometries sent in query are validated