Fix issue with memcache being unable to pickle new QS

When we changed the query here, things got a little weird and we could
no longer pickle.

Signed-off-by: Dan McGee <dan@archlinux.org>