Fix crash when participant is not saved bug for hasRelationshipType and hasParticipantProperty