Simplify check for nested objects with changes