Added cursor compatibility via setting pagination mode