Modified condition type to &undefined when unbound variable error is occured.