Fix for process_backup_result function