RF: prevent zero division in generate_og_timeseries

reuslts in ``nan`` otherwise; run into this problem a couple of times now.