In function _next, sometimes options parameter is not passed, so setting on undefined is causing error. (PR #15716)
b5b8239870
6f8e40c