Fixed bug when nested attribute is nil
V0.0.5