[PATCH 04/19] Don't bother resizing a container that has just been emptied.