[JIRA] (HHH-13322) Sequence increment is not correctly determined