Fixes merging AddTypeId array