Only return pending items in pending-tasks