fixed bug in back end that let user set range of risk_differences that caused p21 to be outside [0,1]