This is a bug for which a likely fix is in the nightlies, targeting v8.1.36.
You even replied on that topic.
You should be testing against the nightlies to see if the bug fix works for you.
If this is urgent for production, you will have to do your own work-around (duplicate checking) in the file received event script. v8.1.36 is some weeks away.