Fixing scan iterator so that it actually searches for low/high keys correctly