Remove undefined articles from api data

Added line to clean up array of returned articles so that any that are undefined are removed.  API's presumably should not return undefined, but currently do so the application needs to be able to cope with this without error-ing.

Also removed incorrect error handling leaving errors to fall to the correctly logged, catch statement.