Fixed bug in TranslationSchema#toOldModel which generated null entries when generate is false