Bug fix in precedence class regarding bracket counting, plus test run pass for FormulaTreeDirector.