Fix rescan.