Fixed bug in showing summary div