getIntervalSpecification fixed