CXX-237 change checkModified to setModified