Fixed inequality error on checking if a timestep is within a tuple representing a time averaging interval.