A search does limit your records. The only records that will appear is the records that match your search. If you need less records then you need to modify your search. You need to search for the Top two results.
You didn't give any information about your fields. I don't know if you have just one class field or a class field and a number field. You need to enter find mode. If you have one field then enter Class A 132 in that field , then new record request, and then enter Class A 135 into the class field then perform your field. If it two different fields you would enter Class in the class field and the number in the number field , then a new record request, then enter class and then number in the fields again. Then you perform find
If you want to arbitrarily discard all found records except for the first N found, a script can use omit multiple records to omit all records from N + 1 to the end of the found set.