Fix task latex view (get related items)