Fix overstrict assertion
Merge pull request #1675 from steventlamb/topic/fix_duplicate_csv

Fix overstrict assertion