Fixed bug in page edit. See issue #87