Fix for the leap-year range iteration problem (#12)

Fixes #12