Modified to work with new 'Bookings.type1_c' field.