Make sure the indexes aren't -1 before we process anything with {}