Moved function in global namespace to within class wrapper

Bug fix: add_settings_error not available when using validation from within upgrade routine
Bug fix: for when term is not found in taxonomy_filter_parse_query()