Fixed EZP-18195: $result.object is not correctly created

The ```eZContentObject``` was created with a row retrieved from a call to ```eZContentObjectTreeNode::fetch()```, obviously, an ```eZContentObjectTreeNode``` row cannot be used to create an ```eZContentObject``` in a straight way.