Did you have the slide number showing on notes pages before you ran the code?