Added function to validate summaries