Numbered references in alphabetical order

Great thread! It solved exactly the problem I was struggling with. However, I have a question concerning how to format the in-text citations using the Numbered style. I need to distinguish between the following two types of in-text citations:

[1]               (no page number)

([2], 23)      (page number → need to add a parenthesis)

Currently the citation template is ([Bibliography Number], Cited Pages)

The problem, however, is how to let EndNote know that I only want to add the parenthesis when there is something in the Cited pages field?

Thanks in advance,

Marielle