Added check for modification date in newly created tasks