edited Node.py expand function for if the characteristic does not exist