CXX-311 fix bug in getCollectionInfos