Prints may have an invalid date. Extend the checks so that this is also caught in addition to a NULL date.