MX-11 fresh sql's were missing the exclusion table
MX-11 mixed up join columns & cascading
minor cleanup