Fix next_code call in 'safe' iterator.

Should've been skipping bad octets.