isMongoFriendlyType fixed