Calculate skips throws an exception when the period is exactly N years and 0 months since currently only period with months >= 0 goes through this logic when it should be months or years > 0. I have created a pull request with the fix and a test case at:
#869