Fixed inconsistency in max page_length to 255. (thanks Parna)