Minor performance fix.