Check for previous updates of a site to a given version and stop at a given counter to prevent endless loops