Fixed the saving of the MODs records

Refrences #630.