TMDM-7816: Fixed "RepositoryQueryService.findServerObjectItemByNameWithDeleted()" method can not find resource correctly.