Fix bug for the result list view, handle the scalar type item correctly.