Improved handling of oracle sequences.