Fixes #4802 notifications sent when status is newly set to published