Checks for duplication fixed