Add protection for bad data being returned from instances

This will look better if you use "any?" instead of "each"