fixed api.find() to populate cursor when necessary