CPASSREF: Fixed another bias bug + renaming SAFE_RAND