fixed recursive part for returning cursor() pages
	modified:   api.py