IB000/helpers/uzavery.php: find element with most relations