Enhanced support for spatial queries in Raven Studio