Minor fixes to listCollections to ensure correct querying of a collection when using a string.