Fix throwing an error from entering Enter or Down Arrow when no input is provided