fix a bug where threaded pending would not have access to the information about which ways were determined to be used in relations beforehand which would have lead to more ways in the lines table for example