Fixed behaviour of unpublished pages