Remove table overhead when uri has no query

As suggested by @waywardmonkeys
Merge pull request #7 from fracek/no-query-table-overhead

Remove table overhead when uri has no query