Adding check for MongoDB for TTL