Bugfix : return the same reference as the first one for bidi references to avoid problems with reconnect tool