QueryResultSerializer check instanceof Title to avoid failure on a non-o...

...bject

Avoid failure Fatal error: Call to a member function getFullText() on a non-object