fix dependencies on ScriptOptionalParameterList

Noticed that ScriptOptionalParameterList depends on ScriptRequiredParameterList.