Fixed error in delete_streams_with_resource_id