Removed redundant check if metamodel object instance is available.