Fixed how tables are printed to a simple query.