Trouble filtering on custom index

Hello everyone, I create an custom index with the first letter of the title in uppercase, and I'm trying to make a query for it without success..
Someone have a hint about what is wrong? already checked the portal_catalog tool, and it is filled right.

ipdb> [
    brain.letter
    for brain in api.content.find(
        context=self.context,
        portal_type='Term',
        letter='A'
    )
]
['F', 'P', 'I', 'M', 'B', 'H', 'R', 'C', 'L', 'K', 'E', 'I', 'Q', 'Q', 'E', 'B', 'D', 'L', 'R', 'J', 'I', 'K', 'R', 'F', 'O', 'F', 'D', 'E', 'I', 'N', 'R', 'N', 'J', 'O', 'K', 'D', 'P', 'F', 'O', 'G', 'A', 'P', 'Q', 'B', 'H', 'C', 'G', 'A', 'Q', 'H', 'M', 'L', 'G', 'L', 'E', 'H', 'O', 'A', 'M', 'Q', 'A', 'S', 'O', 'J', 'J', 'K', 'C', 'C', 'M', 'N', 'F', 'D', 'L', 'A', 'B', 'P', 'R', 'J', 'G', 'G', 'E', 'N', 'H', 'N', 'I', 'D', 'C', 'L', 'B', 'P', 'K', 'M', 'Z', 'U', 'S', 'W', 'Y', 'T', 'T', 'S', 'V', 'T', 'V', 'W', 'Z', 'Z', 'T', 'V', 'X', 'X', 'Y', 'Y', 'S', 'Y', 'X', 'U', 'S', 'X', 'U', 'W', 'W', 'T', 'X', 'U', 'U', 'W', 'V', 'V', 'Y', 'Z', 'Z']

thanks

Oh.. looks like I didn't create the index, just the column

Now it works :smile: