Fix interface number processing.