Fixed inline calls to index for arrays!