fix bug in convertToPartitionedCollection, change the verify to a uassert, as convertToPartitioned may pass in a bogus collection