Fixed the removal of the old named container