Fixes #459 for geosearch