Checking for duplicated interfaces