Fix indexing bug into float.