Bug fix for was_published_recently method