update strategy for getting column names

* if there were ever no results, we would fail later on because we
  wouldn't have any column names
* this should be faster too, because we never have to issue repeat
  queries with alternate bounds
Merge pull request #12 from rmarianski/update-column-names-query

update strategy for getting column names