Another logic fix.