Update leaflet-search.js

bug fix null pointer exception
Merge 3eb55e53016ffdbd7fe6f36f8dd43bca2b16bfac into c4b286078d3e6d9d58fabe767df90fc54ce069ed
merge