Analysis data check for not null / instance of array. If it is an instance of an array then use the first one to present the data
Updated src to reflect changes
Merge pull request #7 from thomas-squid/master

Updated src to reflect changes