Fix id search on Android

Fix #2770