Minor clean up in getWinding() code.