don't crash if edd and dod aren't dates

http://manage.dimagi.com/default.asp?139265
i think we're ok with empty strings not crashing