Corrected the Qwery check.

It's a function, not an object. Derp.