I defended against an attack today and killed all of the troops. The village still shows an incoming flag and the enemy troops are shown as returning home.
What I've noticed from a previous experience is that the flag takes a little longer to go away. It should be gone by now, right? Anyway, I'll be passing this to the developers. Thank you for reporting.