Add page validation so page doesn't start from 0.