added compatibility to files without #duedates keyword