[AIS] Search Profile can no longer be published and it displays the error message "You cannot publish this profile yet, because you have unpublished dictionaries linked to this profile. Check the "State" field of your dictionaries."Issue After creating a custom AIS Dictionary, the associated Search Profile can no longer be published and it displays the error message "You cannot publish this profile yet, because you have unpublished dictionaries linked to this profile. Check the "State" field of your dictionaries.", even though the AIS Dictionary is published. CauseOrphaned m2m record in table [ais_search_profile_ais_dictionary_m2m] that is linked to the AIS Search Profile, but not linked to any AIS Dictionary, which is shown as (empty).Resolution1. Backup and then delete the orphaned m2m record in table [ais_search_profile_ais_dictionary_m2m].2. Publish the AIS Search Profile and no error should now appear. It will now be successfully published.