Improved handling of null/undefined in feed.js.