Fix error with empty value for truncate list + update example