These places are no longer mosques when they are used to hide rockets, munitions and used as command centers, they are legitimate war targets. Once one mosque is used in this way, they are all fair game. Anyway it doesn’t seem that the people were getting much religion from these places, so what does it matter? The same goes for using ambulances to transport men and munitions, even if one is used, they are then all war targets.