chain references in joins for AR 4
always return realtion, not WhereChain
Merge remote-tracking branch 'm0n9oose/develop' into develop