Fixed problem with sequences on oracle.