Added a falsy check on the parent