Related to refactoring in !1512 (merged), after which ID vectors can only be set with the correct number of IDs.