The removed lines were the feature of the Gates and not any bug.
The above lines meant that the no of inputs can't be less than 2, but it can be more than the earlier inputs, to implement gates with multiple inputs. So this whole part is of no use .