Return value of Mongo remove method depends on configuration