Refresh globals before calling validate() so that inventory is properly
updated.
Merge pull request #647 from Kinematics/4.1-dev

Refresh globals before calling validate() so that inventory is properly updated.