Improve voting logic, use random for stuck situation, now working