Fix a sequential error when specifying searching criterians