When selecting a page number higher than the total number of pages, it will now return the last page, instead of an empty paginated result.

Summary: Changed the return value in getPaginated() when using a page number higher than the last page.

Test Plan: call the getPaginated method with the first page, the last one, and a value higher than the last one.

Reviewers: jmsotuyo

Reviewed By: jmsotuyo

Differential Revision: http://ph.monits.com/D5064