Anomalous switching in dispersive optical bistability