s_expressions-generic_caches: fix exception in empty Cursor assignment (though I don't understand what was wrong)