Check if the source_dsid is there before accessing it.