Fixed SCRIPT_SIG_SIGN by index issue.