Solved DemRep bug

I believe that these lines are responsible for the failure of OpenCPU to
sync.