Fix doc for next_seq