Fix filtering of unique BLE devices during scan.

Fixed #2