When deleting duplicated entries, the explicit groups are not updated, leaving the bibtexkey of the deleted entry in the "@comment{jabref-meta: groupstree:" section. I think in case of deletion because of duplicate entries it would be nice to replace add the remaining entry to all explicit groups the deleted entry was in.
Is fixed in the current development version.