Fixed bug with section delete