Fixing 404 pages

Page may not be a valid object, so check for this (note: may actually want to generate a 404 page object but that's a subject of discussion)