Minor change to alert AttributeError on rendering ObjectModel records