Fixed a small bug in table vis