Fixing reading bug.
Merge branch 'mdffsupport'