Revert "PLA-460 changing query for getting redirected results"

This reverts commit 79f41045c3b796509a1df277e853bb6571a6bc8c.