Fixed bug with fi_rate=0 causing an FP exception.