Fixed accidental call to set_date