Still No Joy
Ok so I tried what you wanted, still did not work, so i took the secure away from it, now it works, it still empties the cart when transitioning from non-secure to secure but not from non secure to non secure. there must be a way around this, or there is a bug somewhere. . pasted that code, made no change still empties when going over to secure method.