Replacement PR for #702

To see if a fresh branch and PR will build with Travis.
Should check the length of an array before indexing into it. It's possible the item will have no title, and this should not cause a failure.