change from `selected_ids` to `selected_or_inherited_ids`
change from `used_and_selected_ids` to `used_and_selected_or_inherited_ids`