MapSearch Work

-Fixed potential issue when not running on dev db