added bounds test prior to making geoalchemy2 related change