this simple script saved as a local plugin demonstrates the point. If you undo after it has completed, it wont change the collision group back.
example.lua (500 Bytes)
Expected behavior
I would expect it to work with changehistoryservice as other properties do.