Add aggregate suggestion to distinct notes (ticket #19842)