finish fixing sqlradius_withdomain time calculations