[NGRINDER-520] Fix unit conversion util