Fix crash on entries without published date
Fix problem where cron job would fetch all entries