Fixed best.match() to return factors with level names.