Many forests are mapped as multipolygon relations, rather than ways, as forests often have non-forest areas inside them. For example Gütschwald, https://www.openstreetmap.org/relation/1298342 , is a multipolygon - there is an outer way around the forest but it is not tagged - the tagging is on the relation. So for each way[…] in your query you will need to include a corresponding relation […].

(There may be other issues but that is the most obvious one).