Fix bug in Sequence.__repr__