Proposed change for xCM R-lottery. Seems to be fixing a bug. HIGH importance.