Properly process the first import in a group. Fixes #9
Added test case
Merge pull request #11 from alex/bad-first-import

Properly process the first import in a group. Fixes #9