Don't mark tab to be restored, if it is already restored
Output index of the "to be restored" tabs for debugging