On the sign of the waveguide invariant