fix issue with time ordering in admin