Fix issues with path search it tries get element from values but there are uids