Fix 'join_by' for one dimension