This logic was initially added in D8460:
A notif can be sent after the app updates, but before migration is run or the keyserver is notified of the new codeVersion. In this case we need to handle notifications with older ids.
We no longer support versions of the app from before the ID schema migration, and as such these concerns are no longer relevant.
This diff resolves ENG-9806.