Yes the e tags in 30040 events reference 30041. The reference format is kind+pubkey+d-tag, IIRC. So the e tag references should include a d tag that shows up in some 30041 event.