Fix hang on BYMONTHDAY
Fix hang on BYMONTHDAY
add tests and small optimizations
Merge pull request #98 from Taraman17/BYMONTHDAY_fixes

BYMONTHDAY fixes