Fixed: EZP-21411: eZOracle: Link management doesn't show Objects using URL (part 2)

Fix in https://github.com/ezsystems/ezpublish-legacy/pull/728 is incorrect, the `short_name` index should be checked prior the `name` one, otherwise, the `$item` gets replaced and inspecting the `short_name` always fails.