(Hopefully) fixed bug in treconomics which allows the current step to increment to a value greater than the steps available. Believe the problem extends to the fact that session information is stored as unicode, and the current step value was not cast to an integer in get_experiment_context().