I am having trouble adding a new task under the conditions described above, and when I press enter, a duplicate task is created.
Sorry for the trouble! Are you still having the same issue?