Fix index_with_xlsx method.