Fix bug of ABFBeacon lookup function.  Found and fixed by Kotaro Kodama.