Simplify restore state condition
Simplify restore state condition

Follow up to b1458218c95d85c4ce911dd3e99da5ae7cf7aeee.

lcreid/rails,tgxworld/rails,yawboakye/rails,yalab/rails,Edouard-chin/rails,yahonda/rails,starknx/rails,palkan/rails,rails/rails,EmmaB/rails-1,repinel/rails,fabianoleittes/rails,flanger001/rails,yhirano55/rails,arunagw/rails,joonyou/rails,rails/rails,yalab/rails,prathamesh-sonpatki/rails,shioyama/rails,mechanicles/rails,jeremy/rails,Edouard-chin/rails,MSP-Greg/rails,notapatch/rails,jeremy/rails,starknx/rails,mechanicles/rails,Stellenticket/rails,shioyama/rails,eileencodes/rails,notapatch/rails,kmcphillips/rails,arunagw/rails,iainbeeston/rails,jeremy/rails,yhirano55/rails,flanger001/rails,flanger001/rails,eileencodes/rails,kmcphillips/rails,yhirano55/rails,tjschuck/rails,jeremy/rails,kddeisz/rails,BlakeWilliams/rails,vipulnsward/rails,prathamesh-sonpatki/rails,BlakeWilliams/rails,Vasfed/rails,EmmaB/rails-1,prathamesh-sonpatki/rails,Erol/rails,joonyou/rails,joonyou/rails,georgeclaghorn/rails,Stellenticket/rails,esparta/rails,betesh/rails,lcreid/rails,gauravtiwari/rails,bogdanvlviv/rails,betesh/rails,arunagw/rails,kddeisz/rails,tjschuck/rails,schuetzm/rails,esparta/rails,Envek/rails,tgxworld/rails,iainbeeston/rails,yalab/rails,fabianoleittes/rails,rails/rails,vipulnsward/rails,gauravtiwari/rails,rafaelfranca/omg-rails,palkan/rails,mechanicles/rails,eileencodes/rails,Edouard-chin/rails,vipulnsward/rails,tgxworld/rails,georgeclaghorn/rails,iainbeeston/rails,MSP-Greg/rails,yhirano55/rails,EmmaB/rails-1,kmcphillips/rails,yawboakye/rails,fabianoleittes/rails,rails/rails,joonyou/rails,rafaelfranca/omg-rails,shioyama/rails,betesh/rails,lcreid/rails,betesh/rails,georgeclaghorn/rails,notapatch/rails,Vasfed/rails,MSP-Greg/rails,Envek/rails,Vasfed/rails,schuetzm/rails,bogdanvlviv/rails,Stellenticket/rails,notapatch/rails,Envek/rails,tjschuck/rails,kddeisz/rails,Envek/rails,Vasfed/rails,vipulnsward/rails,palkan/rails,kddeisz/rails,yahonda/rails,yahonda/rails,bogdanvlviv/rails,yahonda/rails,repinel/rails,palkan/rails,schuetzm/rails,bogdanvlviv/rails,flanger001/rails,kmcphillips/rails,esparta/rails,Stellenticket/rails,yawboakye/rails,tgxworld/rails,shioyama/rails,eileencodes/rails,georgeclaghorn/rails,gauravtiwari/rails,prathamesh-sonpatki/rails,lcreid/rails,mechanicles/rails,BlakeWilliams/rails,MSP-Greg/rails,repinel/rails,Erol/rails,BlakeWilliams/rails,rafaelfranca/omg-rails,starknx/rails,repinel/rails,schuetzm/rails,yalab/rails,esparta/rails,arunagw/rails,Erol/rails,fabianoleittes/rails,Erol/rails,iainbeeston/rails,tjschuck/rails,yawboakye/rails,Edouard-chin/rails