Leftover preformance fix in select