Update the category check

Update the category check to take into account the filtered options.