restSQL patch 0.8.6. Fixes #32, #34, #35.