Fixing dirty field tracking of mutable values