Really check if the search is present?

This fixes the watchlist bug. Why check for defined here?