Ensuring that products/environments are unique

Ensuring that both Product#environments and KTEnvironment#products returns
unique items.