Fixed a double delete bug... Stupid me.