Fix for scan_finished().