fix warning where multiple TRUE/FALSE sharestrings indices