fix: cross object boolean incorrectly return null instead of false

cross object boolean incorrectly return null instead of false.

Changes
-------------
Replace null coalescing to only return null fallback for undefined (and not false).