Fix list_entries.