Fixed bug in ArrayLocation access