Fix for division by zero.