Fix error with wf-mongo.