Huw Davies : riched20: Correctly handle the cursor at the end of a run case.