[fix] Resolves invalid bail when only one month/year is truthy and ensures month is between 1 and 12.
Merge pull request #2 from ovaillancourt/master

Fixes invalid early out of month/year truth test + ensure month is between 1 and 12