Fix for one particular isChanged() check

One of these checks was using field object instead of field name, which
was causing errors in certain cases.