fixed hash-join issue with multiple matches