bug correction

the automatic selection of the warm-up period was not working properly
when no data was available from warm-up (i.e. when the user had set the
run to start at the very first indice)