Fixed published posts bug