When defining a new dataset, the metadata filter conditions do not accept units yet. Thus, the values there must be given on standard REST units, keV, mm, us, ...
I believe here we would need to implement something like TRestMetadata::GetFieldValueWithUnits such as it is done for metadata parameters.