Fix mongo ObjectID vs string problem