Fix containsInterval returning true when 'from' has underflowed