Corrected cursor client examples, cursor cannot be set to nil anymore.