Checkout item loop not returning current item