Small logic fix in: Destructor method.php