Almost fixed consensus, now get 500 server errors after consensus is made