Potentially fix the issue reported by pnorman in the github pull request.

The threaded branch did not delete some ways that are superseeded by relations.