Fixed rounding time using not 5 minutes but using minutes from interval.