[1.7.x] Fixed documentation links to Query Expression API.

Backport of d7a9659110 from master