fix a subtle bug I introduced in my refactoring, where we stopped preferring