Revert "fix: a null field does not mean there is a change"

This reverts commit c71551a20d96b672f7ae0fe6827f807269f82afc.
fix NPE introduced in c71551a when comparing constant pool entries
release v0.5.1