Updating references to SphinxQL functions instead of internal variables.
Noting release notes for 3.0.6 (and Sphinx 2.1.x) onwards.