Fixed wrong variable name in table.reindex()