Revert "fixing the ensure index call to be proper pymongo"

This reverts commit e5489394889eefc0915f5ffba6788e9279ebe75c.