Shop: Checkout script: Fix disabling page by index.