Broke the check into two and clarified the comment. Refs #20.
If the date components is nil, don't try to create a date from that. Fixes test failure. Refs #20.