fix multi selection if category has sub categories