Foreign keys and cascade delete. Fix editing of abonement lessons