fixed some bugs around backwards compatability, and reverted a few of @quasiben's changes
which were necessary due to the bugs
- coerce start/stop to ints, sometimes we were passing series of length 1 int there
- quoting strings for pandas expressions