Fixing issue with the way joins were formatted.