Making sure page number is int.