Fixed null pointer exception in DesireFollowParent

Fixed a NullPointerException caused by not having a parent entity set in the DesireFollowParent goal.