Optimize bson array element removal with $pull method