Added if condition for ensure property of absent