Revisiting the ratchet principle: When hidden conservation laws prevent directed currents in stochastic systems