Fixed RG_RAID range on renewal

Partial merge from 5f59e50f462873f9607ffd233550bb2e68f6d38f
Closes #172

Signed-off-by: shennetsind <ind@henn.et>