Fixed bug with early times