Make sure we check if the indexes exists in the array before doing anything with this.