am 185e3e24: Fix when managed cursors are required.

* commit '185e3e243ee1da136bcace854026b8abaf0c4c86':
  Fix when managed cursors are required.