dexterity related item viewlet fails on broken relations

Would like to add a test to this, but not sure whether test should depend on dexterity. (it probably should as there is dexterity related code in here)