NOJIRA defensive code for due dates in messagetemplates