bugfix: model set should not allow immutable properties to be modified + use proper where statement