add a empty cursor if required
Merge pull request #1591 from AppScale/empty-cursors

Empty cursors if requested