LPS-50682 Auto reference import doesn't work for repositories because it has a reversed logic to handle child entities