Refactor to reduce memory usage and fix bug on querying only raw data if not limit is specified

Merge request reports

Loading