Out of range fix

Catches failure on attribute update