Properly handle (packed) repeated