Correct internal interface to query (bump to 0.5.2)
Build 0.5.2