share counts off by one because BETWEEN is inclusive of the last_share_id

Changed from BETWEEN last_share_id and current to > last_share_id and <= current_share_id