Fix mongodb listener definition