Fixed errornous handling of onetomany changes