Fixed division by zero error in interfaces, which don't have a control-flow