share counts off by one because BETWEEN is inclusive of the last share id. Changed to > last share id.