Bug regarding getChangedFields and hasChanged

when you use snapshots there is a bug with null fields. It says fields doesn't changed when value is changed from null to 0. Values are compared with == not with ===. tested on 2.1 and 3.0.3 on both versions it says field doen't changed