Added searching with data constraints.