Fix minor indexing float errors