ERP-112 - Fixed context as well as indexing of mongo.