More robust checking of get_bounds()