Call extract for findQuery. (closes #1521)

Initial bug was found by @ssured, this just adds a simple test.