Fixed was_published_recently() bug