CXX-398 Don't assume collstats has userFlags
CXX-399 Improve MCI cleanup
CXX-392 Remove use of getIndexes in tests