This problem revealed itself when working on https://sourceforge.net/p/openfoam-extend/ticketsswak4foam/231/
Seems that for some sub-classes of sampledSurface the demand driven data (for instance the face-magnitude) is not deleted with clearGeom() when the surface changes its size.
A patch with the fixes is attached