cleanup multikey stuff in cursors