Added setCondition() to Search and Lookup