Drop unnecessary map + compact in search_tap