BC-1777 MongoDB repository enhancements