Update disquscommentstype.php

Solving the problem when there isn't node if the object has not yet been published.
The problem occurs when during the first edition is it return from browse for object relation.
Please use an `instanceof` test instead:

```php
if ( !$contentObject->mainNode() instanceof eZContentObjectTreeNode )
{
    // ...
}
```