Fix a crash when trying to activate tabs that don't exists with Alt+num