When deforming the terrain foliage won't apply to it

Just to make a point, this is an issue for me in 4.15, but wasn’t an issue beforehand. It makes iteration very difficult.

I still have this issue in 4.18.2, exactly as RobotK has described. I also have a lot of foliage applied to the landscape