fix bug :
if pageCount == 0 then the jsp level error will be occurred.
pageCount == 0 --> NXQL grammar is bad.