Added check to prevent extremely large reports from being generated
merging in temporary check for very large reports