[TIDOC-1050] Fix validate script
Merge pull request #3934 from bhatfield/tidoc-1050

[TIDOC-1050] Fix validate script