4ee766b6b1
It worked before because the get_xxx functions are never called for the links (bit0 = 1), but checking both bits looks cleaner.