Union Duplicate Check

Work in progress, flipping the return values makes it just add
everything. In its current state, its not adding anything to the table.