Removing superfluous check for adding to the set