fixed two big bugs in the withJoins feature, now works both with single join names and dot notation join chains