Make sure the m:1 join through relationship links to the target key in m:m
Make sure the m:1 join through relationship links to the target key in m:m

datamapper/dm-core,tpitale/dm-core,engineyard/dm-core,ar-dm/ardm-core,tillsc/dm-core,alloy/dm-core