Fixing an array indexing issue