Added handling for EmuQL sequence