LERGO-264 - deleting invitations when deleting lesson.