Duplicate boxes and the lines attatching to them occur when you have two people with a double relationship; ie when you have cousins who are married. Unfortunately there is no way to remove the duplicates and still keep the both of the double relationships (if that makes sense).