Fixing some issues with leaflet geosearch