Fixed empty uid and nid for _uf_edit_get_related