Ignore the categories that do not correspond to any variables