Fix performance regression introduced by gregington

Tada!