Implemented record removal on container destroy