Fixed bug in `PageDetail.get_object` method.