Fix COOK-4663

validate_month fails on Fixnums. check spec.class before validating.