Added search constraints to search.