Get Tasks (Historic) (POST) returns few task instances as "null" object

When I was querying for historic task instances using rest/history/task/post-task-query/ which returns as “null” for few tasks.

Also, i used post-task-query-count for count api returns proper count.

Querying for the historic task instances returns as null for few tasks. When I checked in the Cockpit the task instance was exists. I was using camunda spring boot starters v7.9. Anyone faced this issue?