Multiple chunk parsing fix

Ability to parse diffs with multiple chunks.