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

http://manage.dimagi.com/default.asp?139265
Same as above