Fix relationship miss bug