Fix typo.
Make sure we eliminate all references to finished ScriptCommands.