Set column not working in relations...distinct