bug #4057 db/table query string parameters no longer work

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>