Ensure that only published posts appear in recent blog articles

[Fixes #49598343]