Fixed another WGS-specific bug