Added pagination validation (checks whether defined page is greater than rendered number of page)