Allow selects in transition period

Fixes crashes seen in a cutover; certain SELECTs to the master crashed in the period between demoting the old master and promoting the new master.   Allow these through.

Jason, I know this code is probably still opaque to you but see if you can catch the meaning here.

@tsturge @dragonfax