Fix failover state binding and convert the sampler to use the new