Fixed conversion from Interval to Set.
Fixes #174.