fixes truncate method on Mongo driver version < 1.3.0