Fix for end records in the middle of complex records

Spec says non-repeatable records can occur in between the two Complex
formatting records.