Fixes issue with hosts object unique