Avoid StopIteration leak on explicit #next call in #next_occurrence

[#203]
[#213]