Switch on expected value, since the actual one can obviously be wrong