Ensure query parameters are passed by reference all the way from build/prepare/execute