CMTC-94: Avoid using orderBefore when adding an item at the end of the list

https://jira.exoplatform.org/browse/CMTC-94