Fix search page cosmetics

This combines a lot of the small cosmetic changes that were requested into one pull request. 
Yeah it is possible to hit this if you hit remove without a selection, I can do that check with the javascript as well though. Leave this in to be double secure.