KH-193: Prevent creating more than one relation

Between codes which naturally prevents creationg of multiple code
element relations too.