Fix createAttachedCTCPerson to attach and use correct post type