Fixed bug causing queries to lose their Params list.

All 263 tests pass.