Worker Absences and Demand for Flexible Contracts