Fixed issue with tasks page.

refs #4988

Trying to format a non-date was causing an error.