Fixed a bug with the ArrayAccess implementation