#JC-1504 Fixed bug with NFE for invalid topic page number, added test case.
Merge remote-tracking branch 'origin/master'