Fix bugs related to checks for missing required parameters.