fixed issues with commorbidity tables in loadSQL