Fix for some crazy shit in wld processing. Fixes #2