Fix another crash in tas input.
Merge pull request #1238 from RachelBryk/fix2

Fix another crash in tas input.