Bug fix of remove duplicate block function
Merge pull request #341 from giffels/dbs3-remove-duplicate-fix

Bug fix of remove duplicate block function