Changed rank == "Unranked" to "26" and then converted variables, w.rank and l.rank, to numeric vectors -SHV