Avoid division by zero.