If page size query param <= 0, just use default page size.

Closes #1028.