Fixed the bug with new relation validation