Fix division by zero for completion percentage