Testing fix for if all date values are null