Fix SR's `_is_id_only_query`

There was a pretty glaring hole in this method.

(This reverts #303 since it should fix it at the source.)
Aye, that you can--updated.  (That is much simpler; thanks!)