Fixes setting mediationId on notes when being saved.