Fix handling of inbound SMS during inappropriate session state.