If fields are unchanged, do not consider definition edited. close #676