PageResourceImpl load the document and call Document#delete without checking if the document actually exist...
It should return 404 if the page does not exist.