Fixed LubmBenchmark
Added additional heuristic to query optimizer.