Change is_number parsing to peak instead of putting back to avoid double putback. Fixes #9559