Php 1093 refactor cursor logic

Typo: "shouldn't be doing this"?