As the topic says, on my machine the the if check fails and none of the path enemies get freed.
One workaround to this would be to specify some value slightly larger than 0, maybe 0.01, but it would be great if there’s another solution that didn’t rely on magic numbers.