Make the flat_iterator actually resetable when it is at the end.