This spell is working as intended, but when casting the spell (and the indicated AOE it leaves behind) are AOE 4, while the spell (correctly) claims it is AOE 3. So the units that appear to be on the edge of the AOE are in fact not.