[1.4.x] Fixed #19926 -- Fixed a link to code example in queries docs

Thanks Randy Salvo for the report.
Merge remote-tracking branch 'original/stable/1.4.x' into customstable/1.4.x