Made same optimizations to the LogTableVisualization.