[#929] Backport the correction of Enumeratee.grouped to stop dropping elements