Updated Array.js to remove distinct from union

Removed distinct from union