My vote is for bad trigger scripting: The game said "You sided with the druids, so obviously all the goblins got killed, and you let Arka kill the goblin in the cage, didn't you? Yeah, that's what happened!" And then it 'fixed' everything to line up with its trigger.