fix #3285: delete from list is not possible

By creating the temporary list, it is recognized as a concrete list
towards which caches can be moved.

This also fixed #3287.