improve handling of attempt to summarize non-Container content