Looks just fine to me. But dunno why dedupe-if is being called with two args at the bottom there.
dedupe-if