Fixed JoinsBuilder::getExpression.