FIX: Check for component only if there is a Type selected

If there is no Type on the Link, an 'Array to String' error will pop-up, since using DataObject->has_one() with no argument outputs all has_one components of the DataObject.