If you choose the second mode and one of the two cards leaves your graveyard, you’ll still return the other card to your hand as long as it has a creature type that the other card had as it left your graveyard.