Fix bug with input after an error occured on the checkbox prompt