Fix for language list search breaking navigation sometimes

Bug: T76380
Change-Id: If561b87654a8671176d7ed9466a301324e0d0c7a