B-0 Added txn parameter to call to ctx->ctx().db()->getCollection() after merging latest changes from master branch