PHP Notice error fixes on Organization Orphan lookups