Fixed bug where polygons were not updating when using search
Merge branch 'js_search'