Bugfix: printing the right type of params and options on db#query() error.