cursor: check type of $explain and $snapshot.