fix for IntervalCollection.withGaps()

see issue #179