When an evoker summons vexes during a raid, the raid bossbar does not include vexes as part of the wave. This means that a raid can be a "victory" even when vexes still remain, therefore giving you the effect and/or advancement "Hero of the village" when you haven't defeated the entire raid.
Duplicate of MC-148845, this is working as intended.