Fixed bug with get_recorded_time on NULL state