LPS-34268 Check if the category exist before add to the filter