Handle tasks with a "due_at" attribute value of "nil" in order to fix exception "NoMethodError: undefined method < for nil:NilClass" on line 35 (if task.due_at < Date.today)