ignore empty overmap-search strings

Fix for #4978