Fixes #321 postsperpage negative value SQL error
Fixes #321 threadsperpage negative value SQL error
Merge pull request #1041 from PirataNervo/featurefix-321

Fixes #321 threadsperpage/postsperpage negative value SQL error