Fix smartness-in-kbd check