fix timeslider not working because last changeset is not fetched

I admit I have no understanding why the check is necessary. It seems like the condition is already checked earlier in program flow. But if the check is really necessary, it should at least be correct. This fixes the timeslider for now till the refractoring is done.