changed cursor over system.namespaces to be paranoid about BSON types #967