[FEATURE query-params-new] Fix model inheritance for qps

Closes #4735
Merge pull request #4795 from machty/qp-inherit

[FEATURE query-params-new] Fix model inheritance for qps