#16940 - avoid adding entry with listid 0 as target list