gpg: Fix regression in notation data regression.
* g10/misc.c (pct_expando): Reorder conditions for clarity. * g10/sign.c (write_signature_packets): Fix notation data creation.
Also re-added the check for signature version > 3.
- Reported-by: MFPA
- Signed-off-by: Werner Koch <wk@gnupg.org>