Modified mongo connector code
Modified mongo connector code