Added an is_object check on the node in the contextual_link_alters hook.  #1346