Fix distance_base_unit extraction in JPK driver for encoded data.