Fix multiselect and category model.