Improve clearing of properties cursor (uploads, downloads, datasets).

Fixes #403