Fixed calculation of lowest available upon restore