CONTRIB-5296: Fix for invalid dedication time

Thanks Nawshad Farruque