Fixed a bug in the Container module.