Neater tables on query pages

## v1.9.19
## for ticket [155]