added negation to search types