Changed getting value from page number in table, regarding #280.