Bug fix: all precedence tests pass.