FW-218. Fix the unexpected divide zero.