CLSN-1831 : fixed the priority issue for relations