OFMethodSignature: Fix a possible divide by zero