TAJO-619: SELECT count(1) after joins on text keys causes wrong plans.