Fix for TBB scan_by_key