[Notifications] Fix grouping
Sanitize the body before doing anything else. Cleanup grouping logic.
Differential Revision: https://phabricator.kde.org/D10315