Fix for TableTools printing

Resolves #15
Fix from kavaro

When using TableTools extention, the display length is set to -1 for
printing purpose. This fix removes the limitation of record fetch of the
query to fetch all the data.