Fixed ensureIndex so multi key indexes are created in order specified