Add validation for search options.