Fix another crash in tas input.