hide deleted pages in dashboard and page search - fixes #7844