Fixed bug in obj:merge/2