Was reported back in 2238 but never fixed. Yes, you get the message too soon. Still a few ants left to kill there.
I just ran that quest and i got the end-of-quest message when i still had 4 ants to kill, and got the same message again when 1 ant was remaining. So it goes twice, and both times are wrong.