fix crash in weighted shuffler when content with id does not exist
destroy children when content is deleted