Don't leave emptied contains when creating lists