Fix join issue (-1 documents returned)