Minor fix for review feedback

Updated all manual selected="selected" and checked="checked" strings to
use WP helper functions.

Added missing attribute escaping for the search field