IDE-1693 use entire xpath for reference elements