Fix Trac #12797: approximateWC