Fix #287: calculate response rate correctly

The calculation was performed in integers which resulted in 0 always.