The reason this is updated is to account for the case where a sample has results but no ranked genes(that is, the ranking endpoint considers all the results' genes invalid for the given HPO terms). In this case, the sample is updated in that none of the results were ranked. While I doubt this would be very common, it is possible.