Query fix.