Change SpatialFilteringProfile spatialFilter query:
Use Hibernate Subquery instead of Restriction.in because the previously resulting query can be problematic.