[ca] Fixed OutOfBound exception in CatalanUnpairedBracketRule