I have added a PR with a fix for this FIX: set notification level when changing post owner by majakomel · Pull Request #5616 · discourse/discourse · GitHub
Same happens if you edit and mention yourself in a post initially created by someone else. If the editor is not the same as the owner of the post, mentioned one gets a notification. It somehow makes more sense not to show any notification at all in this case then.
Email notifications seem to have changed by now - sender appears to be the owner of the post if I follow the steps as described.