Update exploreDb.xqy to better match MarkLogic interface