Fixed chat and npe in MongoCleanupListener