Correctly handle nested required params.