Fixed exception type in MongoBackend.get function.