Fixed 'filteredAndSortedData' bug where it gets truncated instead of com...

Fixed 'filteredAndSortedData' bug where it gets truncated instead of complete data