Applied mongo connection fix.

Markus Scheidgen requested to merge v0.6.4 into master

Merge request reports