It looks like you are using the catSearch select list and comparing the value to the ItemID column in the items table.
It seems like it should be the ItemCatID column? I don't know your database design but it may just be updating the proper column on line 16 of the Results page.