Excellent point. Those are definitely two different things and are both important, but I would argue that you can determine the "how they code" component during the interview as questions about previous projects, rather than making them write code in front of you. And again, a short-term contract would also work to solve this goal while not wasting my time.
Very good point, though.