Fix subtab assignment.