fixes bug with shotgun data missing.

This fixes an issue that can happen if an item in the Model is missing data in it's SG_DATA_ROLE for one reason or another.