This bug in ancom-bc has been fixed in qiime2-2024.5
https://docs.qiime2.org/2024.5/plugins/available/composition/ancombc/