Fixed a NPE caused by WE config weirdness.