FK to the duplicated IntelReport, find last message for the battle AND group, refactor message processing to sub function