Fix bug in available users when adding schedule.