Make non-uppercase yn prompt actually case insensitive. Fixes #8791.

Like it says on the tin.