Small module for fixing bracket mismatches in XPath expressions.