Support non root query

fixes #3 
(requires 14.12 CCM)