Fixing lucene's operator precedence