reordered logic blocks so that it actualy has right logic
reordered logic blocks so that it actualy has right logic

davidkunio/dedupe,davidkunio/dedupe,pombredanne/dedupe,01-/dedupe,neozhangthe1/dedupe,nmiranda/dedupe,01-/dedupe,tfmorris/dedupe,nmiranda/dedupe,datamade/dedupe,dedupeio/dedupe,datamade/dedupe,neozhangthe1/dedupe,pombredanne/dedupe,tfmorris/dedupe,dedupeio/dedupe