Minor code cleanup for outer joins.
Merge branch 'master' into gc-proto-v1