Fixed indexing error, rejoice!