Added destructor for SearchNodes