Fix EZP-20949: Additional checks for correct object type in version and ...

...node class