Yeah, the AI isn't smart enough to avoid going into location where it was previously interrupted. In fairness, your scheme would fail if more than one enemy attacked at the same side. You would only kill the first guy and the second would get through.
I don't know when next version is, but from now on I am only releasing 1 new feature per version. This will make it more controlled and releases will be more frequent.