Revert "Fixed problem when entering search while in map view. @antnrueh"

This reverts commit bb1e35b3911541da9e9887a2670c9f276cc1eac1.
Revert