minor fixes to boostraping

* inputvals: py2.6 compatibility
* update boostraping queries
Merge pull request #4170 from dmwm/bootstrapping_fixes

minor fixes to boostraping