Fix examples in query's documentation
Fix getMembersInfos function of query.