Fixed bug in Page model.