Fix infinite calls in a setter