Fixes a bug in OrderedArrayAttribute