[Fixes #54204778] Notifications badge does not update when records are deleted.