Added a fix for broken namedtuple reprs on 2.x