Union - Compatibility Update & Thorough Comparison

Function now checks the two tables for union compatibility. Also
updated tuple comparison to ensure duplicates are properly being found.