implemented case for records without the first minute of hour