Adds interval restriction do appointments.