Fixes bug in beacons api. Now finds by minor_id instead of beacon_id