Fix for divide by zero.