bug fix - change order of confirmation tests