Change Task element building logic.

Remove the ActualWork element from the Task element when
struct.total_spent_hours is nil.