keyboard: fix layout search