Fix out of range in Page.cpp - constructor throws exception