This block seems unrelated to the min/max date feature.