Bug/fix notify

Fix bug in which destination folder sometimes was not showing messages after copy/append. Closes: #5167

Should make sure we don't have performance regressions before merging it. It doesn't seem to be the case from my tests, but working on reproducible, accurate measurement script for it.