This was indeed justified by the fact that `keyboardName` was not a member of the `enabledKeyboardNames` and an invalid keyboard was enabled.