Added filters to the insert method in mongoDriver