handling NULL source_dsids in datastream_access hook