Use iter() in Query.first() and Query.all() to ensure iteration works properly.  I hit a case where the cursor on first was None when .next() was called.
Use iter() in Query.first() and Query.all() to ensure iteration works properly.  I hit a case where the cursor on first was None when .next() was called.

shakefu/MongoAlchemy,jeffjenkins/MongoAlchemy,SUNNYANDPJ/MongoAlchemy,shakefu/MongoAlchemy,shakefu/MongoAlchemy,SUNNYANDPJ/MongoAlchemy,jeffjenkins/MongoAlchemy