Removes whitespace at the end of species names