bug fix: evaluate inside of a leftjoin or join atom