Prevent PHP Fatal errors during object purge when ezcomment datatype is not eZContentObjectVersion