Truncate query results according to page_size limit