Verify the correct stack index.