those addr:housenumber=* nodes are not duplicates. While they do have the same house number 4, and they are close by each other, but one is located at the Zuqaq street which is the alley, and one located at the main street. See the addr:street=* tag next time before deleting any addr:housenumber=* node. see https://i.ibb.co/2dR2D05/image.png     
     
About the generator, there is two, one next to the other. You assumed it's duplicated and deleted it without seeing or knowing the area. Please do not delete stuff based on your assumptions as it's bad practice.     
    
Please read https://wiki.openstreetmap.org/wiki/Good_practice before mapping/editing again.      
   
Regards.    