Multiple relation fix