added max pages limit for paginator and limit of 20 pages for newest items
Merge remote-tracking branch 'upstream/master'