Fixed #129 -- auto_query now works as expected.