JAL-2360 fix bug that prematurely created a SequenceGroup