Added support for exclusions in searches