implemented check of measurements to be within selected time-range