Fix min/max initialization in summarization code