Do not send a notification twice

Bug introduced in d512d270b8fe5ee2b4943dec12db2e1e82105843