Ensuring store_token is always an int

If store_token isn't an int we risk explosions