updated missed count check to add selected interval check