Fixing issues with nested 'required' validations.  Added unit tests to verify fixes.