Fixed bug with non-published posts showing in nav