Clean code. Fix selecting a list with xpath