Fix performance issue with Set.member()

Issue #59