fix cmd_relate, should not attempt to load parent when the card does not have a parent set