bugfix in subsetSQL()

Fixed a bug that was causing the data in the bathy object generated by
subsetSQL() to be of class "character"