Fix stupid off by one error in list