When both value and originalValue are null, a proper check is done.

When both value and originalValue are null, a proper check is done.