bug fix: also delete language thumbnails when deleting a sample record