always return endcursor - fixes #288

SGTM