[wmlparser2] Last fix introduced a different bug.

Should work properly now.