Fix crashes on Timeline [Thread] due to range validation