Correctly checking if a serviceobject is changed when saving.