Changed how the enclosures array is checked for content so an empty array is not processed. Fixes a change from the previous branch commit.