Fixes case where datapoint contains hostname instead of ip