Fixes MongoDB host parsing