Fix to allow dates before today