I'm using MB Custom Table and Taxonomy Advanced field to save a three level hierarchy. According to the documentation, the values will be saved in the format 1,2,3, but I'm getting inconsistent values, sometimes with a comma at the end or duplicated commas between two numbers:
https://i.imgur.com/iFd753P.png