Bugfix: deleting a section caused error

https://github.com/gunchleoc/ginbeag/issues/47