Check category search 2 function