Fixed bug sorting due dates if a due date was nil.