The help on explicitVariables says that it's used for figuring out subtle problems with your variable names. If you set the explicitVariables to true, and then try your button, does it behave any differently?