I fixed your subsequent edit.
FYI, when we write generic keys such as "demolished:highway=*", the star sign (*) is expected to be replaced with a value, not to be written as such on OSM data.
So, highway=trunk_link becomes demolished:highway=trunk_link, highway=primary becomes demolished:highway=primary and so on. ;-)
Don’t worry, it’s been fixed now.