FIXED next function

Due to no __tailable on pymongo cursor