Test for "mandatory" WML child, fixing bug #20852.

This bug does not exist in trunk, due to the major refactoring
that has been done to gamestatus.cpp.