Join ON after include.where check