handle join-nils in outer joins