Check for non-numeric characters after an input, fix #4