Repair problem when search string is empty

The recent change to make search work broke things when no search string has been entered,
including the original home page, an unadorned /browse.