TAJO-867: OUTER JOIN with empty result subquery produces a wrong result.