Fixed bug in array fieldaccess checking