A remark on gauge symmetries in Ising spin glasses