Merge pull request #151 from danmcp/master

Add protection for bad data being returned from instances