Improve twinnable manymany join(), add main_context condition
Improve twinnable manymany join(), add main_context condition