Allow the SHAMap visitLeaves functions to sanely handle a missing map node.