Bug fixed: Address the case when there is not any valid producer.