Fixed leak in HasChildAtPath