Display error when author pg num is invalid.

Related to issue #11.