fixes typo in new compliance_level logic