title: Why does collection_names() return an empty array when I know there is a collection there?
body: <p>I'm trying to wrap my head around how MonogoDB stores information. I have successfully uploaded the "restaurants" collection to the "test" database from the monogodb upload tutorial. I know this, because I can print the entire collection in the console.</p>
  
  <p>HOWEVER. </p>
  
  <p>When i run the following code:</p>
  
  <pre><code>import pymongo
  from pymongo import Connection
  from pymongo import MongoClient
  import pprint
  
  connection = Connection()
  
  print connection.database_names()
  
  db = connection['test']
  
  print db.collection_names(include_system_collections=False)
  
  pprint.pprint(db.restaurants.find_one())
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>C:\scripts&gt;mongodbtest.py
  [u'development', u'local', u'test']
  []
  {u'_id': ObjectId('59c1a2a757b3f662e0f8eb52'),
   u'address': {u'building': u'2780',
                u'coord': [-73.98241999999999, 40.579505],
                u'street': u'Stillwell Avenue',
                u'zipcode': u'11224'},
   u'borough': u'Brooklyn',
   u'cuisine': u'American',
   u'grades': [{u'date': datetime.datetime(2014, 6, 10, 0, 0),
                u'grade': u'A',
                u'score': 5},
               {u'date': datetime.datetime(2013, 6, 5, 0, 0),
                u'grade': u'A',
                u'score': 7},
               {u'date': datetime.datetime(2012, 4, 13, 0, 0),
                u'grade': u'A',
                u'score': 12},
               {u'date': datetime.datetime(2011, 10, 12, 0, 0),
                u'grade': u'A',
                u'score': 12}],
   u'name': u'Riviera Caterer',
   u'restaurant_id': u'40356018'}
  </code></pre>
  
  <p>Why does the collection_names() come up with an empty array?!?!?!?!</p>