Fix empty field model attr.

Fix stack overflow error on context object.