Fixed pointer bug in tac comparison. All tests now pass.