Take the first non-null typology when merging line

Can't remember what we said exactly I think we talked about this but after some test the rule is confusing as is, I think it's better to simplify it to just take the first non-null typology (it should also simplify the code).