initial brute force encofing handling in joins. #603