MR_addObject:relatedObject Assert fix
Merge commit '21d48dfddaef79636b1653e6311c0df9f1ef7e4f' into develop