This fixes #8165.  It now feeds validTypes into the array it creates.
Merge branch 'master' of github.com:hugllc/HUGnetLib