I'd suggest that it's almost never wanted to turn off Iron AND Aluminum, or Carbon AND Steel. So turning off "all mines" or "all quarries" should only turn off all mines or quarries of the type that was selected.
And if the one selected happens to be doing both due to a lucky tile placement, then sure, turn off both.