fixes device log import issue for devices that send fractional seconds
in timestamp
cleanup of run_for_domain for readability