Added checks when accessing SEQUENCE OF with index