Fix another str->int bug.