Replace params.customQuery with params.on.query