Fixed bug in ProcessToDoList

which caused the entry list to be corrupted.