Problem with undoing material changes made via script

RH-65476 is fixed in Rhino 7 Service Release 11 Release Candidate