Fix a couple of problems in estimating the number of rows visited by a range query that uses a skip-scan.