[sr-dev] git:master: core: handle pv comparison with $null as when defined is used