Fixed incorrect parsing of multiple formats with header.