Use pattern matching for UnboundValue where sensible.
Ensure unbound values handled correctly by Cypher functions.