fix(migr): Correct migrDates2iso to ignore MODATTR attributes (closes #5232)