Revert "Fix Query construction in EagerCursor preparation test"

This reverts commit 8d697ad1f2b4f186aef2ecf75a194732fbe62e29.